package com.zdf.license.core.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * License校验类需要的参数
 */
@Data
@SuperBuilder(toBuilder = true)
@NoArgsConstructor
@AllArgsConstructor
public class LicenseVerifyParam {

    /**证书主题*/
    private String subject;
    /**公钥别名*/
    private String publicAlias;
    /** 访问公钥库的密码*/
    private String storePass;
    /**证书生成路径*/
    private String licensePath;
    /**公钥库存储路径*/
    private String publicKeysStorePath;

    @Override
    public String toString() {
        return "LicenseVerifyParam{" +
                "subject='" + subject + '\'' +
                ", publicAlias='" + publicAlias + '\'' +
                ", storePass='" + storePass + '\'' +
                ", licensePath='" + licensePath + '\'' +
                ", publicKeysStorePath='" + publicKeysStorePath + '\'' +
                '}';
    }
}
